/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       scaled_animation_cache.h

	$Header: /game/scaled_bitmap_cache.h $

	$NoKeywords: $

 ************************************************************************/

#ifndef SCALED_ANIMATION_CACHE_H_INCLUDED
#define SCALED_ANIMATION_CACHE_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "animation.h"
#include "animation_cache.h"

// -------------------------------------------------------------------
// cache scales animation to current resolution
// -------------------------------------------------------------------
class t_scaled_animation_cache_data;

class t_scaled_animation_cache : public t_animation_cache
{
public:
	t_scaled_animation_cache() : t_animation_cache( 0 )
	{
		m_data = 0;
	}
	t_scaled_animation_cache( std::string const& name, double scale );
	void set_origin( t_screen_point origin );
private:
	t_scaled_animation_cache_data* m_data;
};

#endif // SCALED_ANIMATION_CACHE_H_INCLUDED
